package com.hd.trans.network.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.google.gson.annotations.SerializedName;

/**
 * Author:  yang
 * Date:    2019/12/16 16:52
 * Desc:    获取服务器配置信息返回数据
 */
public class ConfigResponse {

    /**
     * 收银台地址
     */
    @SerializedName("url")
    @JSONField(name = "url")
    private String urlCashier;

    /**
     * AB测试
     */
    @SerializedName("test_type")
    @JSONField(name = "test_type")
    private String abType;


    /**
     * 优惠券
     */
    @SerializedName("discount_url")
    @JSONField(name = "discount_url")
    private BaseConfigBean coupon;

    /**
     * 配置信息
     */
    @SerializedName("app_config")
    @JSONField(name = "app_config")
    private AppConfigV2Bean appConfig;

    public String getUrlCashier() {
        return urlCashier;
    }

    public void setUrlCashier(String urlCashier) {
        this.urlCashier = urlCashier;
    }

    public BaseConfigBean getCoupon() {
        return coupon;
    }

    public void setCoupon(BaseConfigBean coupon) {
        this.coupon = coupon;
    }


    public AppConfigV2Bean getAppConfig() {
        return appConfig;
    }

    public void setAppConfig(AppConfigV2Bean appConfig) {
        this.appConfig = appConfig;
    }

    public String getAbType() {
        return abType;
    }

    public void setAbType(String abType) {
        this.abType = abType;
    }

    @Override
    public String toString() {
        return "ConfigResponse{" +
                "urlCashier='" + urlCashier + '\'' +
                ", coupon=" + coupon +
                ", appConfig=" + appConfig +
                '}';
    }

}




